{include file="./header" title="功能模块" /}
<div class="container-fluid">
<div class="btn-group">
	<a href="{:url('Mod/mod_add')}" class="btn btn-primary">添加</a>
</div>
<br /><br />
    <table class="table table-striped table-hover">
    <thead>
        <tr>
            <th>用户ID</th>
            <th>模型名称</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    {foreach name="list" item="val"}
        <tr>
            <td>{$val.id}</td>
            <td>{$val.name}</td>
            <td>
            <div class="">
            	<a href="{:url('Mod/mod_edit?id='.$val['id'])}" class="btn btn-primary" role="button">编辑</a>
            	<a href="{:url('Mod/mod_del?id='.$val['id'])}" class="btn btn-primary" role="button">删除</a>
            </div>
            </td>
        </tr>
    {/foreach}
        <tr>
     </tr>
    </tbody>
</table>
</div>
{include file="./footer" /}